package cn.caskm.souvenirshopsystem.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_banner")
public class SysBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 广告ID
     */
    @TableId(value = "ban_id", type = IdType.AUTO)
    private Integer banId;

    /**
     * 标题
     */
    private String title;

    /**
     * 图片
     */
    private String images;

    /**
     * 0:上架 1:下架
     */
    private String status;

    /**
     * 序号
     */
    private Integer orderNum;


}
